chore(deps): update dependency fmt to v11.2.0.bcr.1 #578
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
11.0.2->11.2.0.bcr.1Release Notes
fmtlib/fmt (fmt)
v11.2.0Compare Source
Added the
sspecifier forstd::error_code. It allows formatting an errormessage as a string. For example:
prints
(The actual message is platform-specific.)
Fixed formatting of
std::chrono::local_timeandtm(#3815,
#4350).
For example (godbolt):
is now formatted consistenly across platforms.
Added diagnostics for cases when timezone information is not available.
For example:
now gives a compile-time error.
Deprecated
fmt::localtimein favor ofstd::localtime.Fixed compilation with GCC 15 and C++20 modules enabled
(#4347). Thanks @tkhyn.
Fixed handling of named arguments in format specs
(#4360,
#4361). Thanks @dinomight.
Added error reporting for duplicate named arguments
(#4282,
#4367). Thanks @dinomight.
Fixed formatting of
longwithFMT_BUILTIN_TYPES=0(#4375,
#4394).
Optimized
text_styleusing bit packing(#4363). Thanks @localspook.
Added support for incomplete types (#3180,
#4383). Thanks @localspook.
Fixed a flush issue in
fmt::printwhen using libstdc++(#4398).
Fixed
fmt::printlnusage withFMT_ENFORCE_COMPILE_STRINGand legacycompile-time checks (#4407).
Thanks @madmaxoft.
Removed legacy header
fmt/core.hfrom docs(#4421,
#4422). Thanks @krzysztofkortas.
Worked around limitations of
__builtin_strlenduring constant evaluation(#4423,
#4429). Thanks @BRevzin.
Worked around a bug in MSVC v141 (#4412,
#4413). Thanks @hirohira9119.
Removed the
fmt_detailnamespace(#4324).
Removed specializations of
std::is_floating_pointin tests(#4417).
Fixed a CMake error when setting
CMAKE_MODULE_PATHin the pedantic mode(#4426). Thanks @rlalik.
Updated the Bazel config (#4400).
Thanks @Vertexwahn.
v11.1.4Compare Source
Fixed ABI compatibility with earlier 11.x versions on Windows
(#4359).
Improved the logic of switching between fixed and exponential format for
float(#3649).Moved
is_compiled_stringto the public API(#4335,
#4342). Thanks @SwooshyCueb.
Simplified implementation of
operator""_cf(#4349). Thanks @localspook.
Fixed
__builtin_strlendetection (#4329).Thanks @localspook.
Fixed handling of BMI paths with the Ninja generator
(#4344). Thanks @tkhyn.
Fixed gcc 8.3 compile errors (#4331,
#4336). Thanks @sergiud.
Fixed a bogus MSVC warning (#4356).
Thanks @dinomight.
v11.1.3Compare Source
Fixed compilation on GCC 9.4 (#4313).
Worked around an internal compiler error when using C++20 modules with GCC
14.2 and earlier (#4295).
Worked around a bug in GCC 6 (#4318).
Fixed an issue caused by instantiating
formatter<const T>(#4303,
#4325). Thanks @timsong-cpp.
Fixed formatting into
std::ostreambuf_iteratorwhen using format stringcompilation (#4309,
#4312). Thanks @phprus.
Restored a constraint on the map formatter so that it correctly reports as
unformattable when the element is (#4326).
Thanks @timsong-cpp.
Reduced the size of format specs (#4298).
Readded
args()tofmt::format_context(#4307,
#4310). Thanks @Erroneous1.
Fixed a bogus MSVC warning (#4314,
#4322). Thanks @ZehMatt.
Fixed a pedantic mode error in the CMake config
(#4327). Thanks @rlalik.
v11.1.2Compare Source
Fixed ABI compatibility with earlier 11.x versions
(#4292).
Added
wchar_tsupport to thestd::bitsetformatter(#4285,
#4286,
#4289,
#4290). Thanks @phprus.
Prefixed CMake components with
fmt-to simplify usage of {fmt} viaadd_subdirectory(#4283).Updated docs for meson (#4291).
Thanks @trim21.
Fixed a compilation error in chrono on nvcc
(#4297,
#4301). Thanks @breyerml.
Fixed various warnings
(#4288,
#4299). Thanks @GamesTrap and @edo9300.
v11.1.1Compare Source
Fixed ABI compatibility with earlier 11.x versions
(#4278).
Defined CMake components (
coreanddoc) to allow docs to be installedseparately (#4276).
Thanks @carlsmedstad.
v11.1.0Improved C++20 module support
(#4081,
#4083,
#4084,
#4152,
#4153,
#4169,
#4190,
#4234,
#4239).
Thanks @kamrann and @Arghnews.
Reduced debug (unoptimized) binary code size and the number of template
instantiations when passing formatting arguments. For example, unoptimized
binary code size for
fmt::print("{}", 42)was reduced by ~40% on GCC and~60% on clang (x86-64).
GCC:
(godbolt).
(godbolt).
Clang:
(godbolt).
(godbolt).
Added an experimental
fmt::writerAPI that can be used for writing todifferent destinations such as files or strings
(#2354).
For example (godbolt):
Added width and alignment support to the formatter of
std::error_code.Made
std::expected<void, E>formattable(#4145,
#4148).
For example (godbolt):
prints
Thanks @phprus.
Made
fmt::is_formattable<void>SFINAE-friendly(#4147).
Added support for
_BitIntformatting when using clang(#4007,
#4072,
#4140,
#4173,
#4176).
For example (godbolt):
Thanks @Arghnews.
Added the
nspecifier for tuples and pairs(#4107). Thanks @someonewithpc.
Added support for tuple-like types to
fmt::join(#4226,
#4230). Thanks @phprus.
Made more types formattable at compile time
(#4127). Thanks @AnthonyVH.
Implemented a more efficient compile-time
fmt::formatted_size(#4102,
#4103). Thanks @phprus.
Fixed compile-time formatting of some string types
(#4065). Thanks @torshepherd.
Made compiled version of
fmt::format_towork withstd::back_insert_iterator<std::vector<char>>(#4206,
#4211). Thanks @phprus.
Added a formatter for
std::reference_wrapper(#4163,
#4164). Thanks @yfeldblum and @phprus.
Added experimental padding support (glibc
strftimeextension) to%m,%jand
%Y(#4161). Thanks @KKhanhH.Made microseconds formatted as
usinstead ofµsif the Unicode support isdisabled (#4088).
Fixed an unreleased regression in transcoding of surrogate pairs
(#4094,
#4095). Thanks @phprus.
Made
fmt::appendersatisfystd::output_iteratorconcept(#4092,
#4093). Thanks @phprus.
Made
std::iterator_traits<fmt::appender>standard-conforming(#4185). Thanks @CaseyCarter.
Made it easier to reuse
fmt::formatter<std::string_view>for types withan implicit conversion to
std::string_view(#4036,
#4055). Thanks @Arghnews.
Made it possible to disable
<filesystem>use viaFMT_CPP_LIB_FILESYSTEMfor compatibility with some video game console SDKs, e.g. Nintendo Switch SDK
(#4257,
#4258,
#4259). Thanks @W4RH4WK and @phprus.
Fixed compatibility with platforms that use 80-bit
long double(#4245,
#4246). Thanks @jsirpoma.
Added support for UTF-32 code units greater than
0xFFFFin fill(#4201).
Fixed handling of legacy encodings on Windows with GCC
(#4162).
Made
fmt::to_stringtakefmt::basic_memory_bufferby const reference(#4261,
#4262). Thanks @sascha-devel.
Added
fmt::dynamic_format_arg_store::size(#4270). Thanks @hannes-harnisch.
Removed the ability to control locale usage via an undocumented
FMT_STATIC_THOUSANDS_SEPARATORin favor ofFMT_USE_LOCALE.Renamed
FMT_EXCEPTIONStoFMT_USE_EXCEPTIONSfor consistency with othersimilar macros.
Improved include directory ordering to reduce the chance of including
incorrect headers when using multiple versions of {fmt}
(#4116). Thanks @cdzhan.
Made it possible to compile a subset of {fmt} without the C++ runtime.
Improved documentation and README
(#4066,
#4117,
#4203,
#4235). Thanks @zyctree and @nikola-sh.
Improved the documentation generator (#4110,
#4115). Thanks @rturrado.
Improved CI (#4155,
#4151). Thanks @phprus.
Fixed various warnings and compilation issues
(#2708,
#4091,
#4109,
#4113,
#4125,
#4129,
#4130,
#4131,
#4132,
#4133,
#4144,
#4150,
#4158,
#4159,
#4160,
#4170,
#4177,
#4187,
#4188,
#4194,
#4200,
#4205,
#4207,
#4208,
#4210,
#4220,
#4231,
#4232,
#4233,
#4236,
#4267,
#4271).
Thanks @torsten48, @Arghnews, @tinfoilboy, @aminya, @Ottani, @zeroomega,
@c4v4, @kongy, @vinayyadav3016, @sergio-nsk, @phprus and @YexuanXiao.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.